package com.lc1993929.dubbo.boot;

import com.alibaba.dubbo.config.*;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by LiuChang on 2017/9/12/012.
 */
@Data
@ConfigurationProperties(prefix = "spring.dubbo")
public class DubboProperties {

    private ApplicationConfig application = new ApplicationConfig();

    private RegistryConfig registry = new RegistryConfig();

    private ProtocolConfig protocol = new ProtocolConfig();

    private MonitorConfig monitor = new MonitorConfig();

    private ModuleConfig module = new ModuleConfig();

    private ProviderConfig provider = new ProviderConfig();

    private ConsumerConfig consumer = new ConsumerConfig();

    private Boolean health = false;

}
